﻿<views:ExtendedSplashScreenView
    x:Class="SpaceNeedle.x6473.WindowsPhone.Views.ExtendedSplashScreen"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:views="clr-namespace:SpaceNeedle.x6473.WindowsPhone.Views"
    xmlns:controls="clr-namespace:SpaceNeedle.x6473.WindowsPhone.Controls"
    xmlns:viewmodels="clr-namespace:SpaceNeedle.x6473.WindowsPhone.ViewModels"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="Portrait" Orientation="Portrait"
    mc:Ignorable="d"
    shell:SystemTray.IsVisible="False">
    
    <Grid>
        <Image HorizontalAlignment="Center" VerticalAlignment="Center" Source="{Binding BestResolutionImage, Source={StaticResource MultiResImageChooser}}" Stretch="UniformToFill"/>

        <Image Source="/Assets/microsoft-200.png" Width="200" VerticalAlignment="Top" Margin="0,80,0,0" Stretch="None"/>

        <StackPanel VerticalAlignment="Center" HorizontalAlignment="Center">
            <Image Source="/Assets/Splash/6473-336.png" Width="150"/>
            <TextBlock Text="Cidadão" FontSize="56" Margin="0,-30,20,0" Foreground="White" FontWeight="Bold"/>
            <TextBlock Text="Conectado" FontSize="28" Margin="20,0,0,0" Foreground="White" FontWeight="Light" HorizontalAlignment="Right"/>
        </StackPanel>

        <ProgressBar Visibility="{Binding IsInProgress, Converter={StaticResource BooleanToVisibilityConverter}}" Style="{StaticResource ProgressStyle}" VerticalAlignment="Center" Margin="0,270,0,0"  />
        <controls:NewtworkStatusControl/>

    </Grid>
    
</views:ExtendedSplashScreenView>